MongoDB
PHP Manual

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Descripción

public MongoCollection MongoDB::selectCollection ( string $name )

Lista de parámetros

name

The name of the collection.

Valores retornados

Returns the collection.


MongoDB
PHP Manual